﻿{%extends "base.html"%}
{%block body%}
<script type="text/javascript">
	$(document).ready(function(){

		$("#formEdit").validate({
			rules:{
				"name": "required"
				,"value": "required"
			}
		});
	});
		
</script>

<table cellpadding="2" width="100%" class="smallfont" border="0">
  <tr>
  	<td class="errorlist" >{{err}}</td>
  </tr>
</table> 
<form action="" method="post" id="formEdit">
<table border="0" cellpadding="2" width="300" >
	<tr>
		<th><label for="id_customercode">Name:</label></th>
		<td><input type="text" id="name" name="name" value="{{config.name}}" /></td>
	</tr>
	<tr>
		<th><label for="id_name">Value:</label></th>
		<td><textarea rows="15" cols="30" id="value" name="value">{{config.value}}</textarea></td>
	</tr>
	<tr><td/><td>
		<input type="submit" value="Submit"/>
		<input type="reset" value="Clear"/>
	</td></tr>
</table>	 
</form>
{%endblock%}
